package com.zs.games.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zs.games.entity.GameInfo;
import com.zs.games.param.PageQuery;
import com.zs.games.param.UserCommentGameParam;
import com.zs.games.vo.GameInfoVo;

import java.util.List;

public interface GameInfoService {

    IPage<GameInfoVo> getPageList(PageQuery  pageQuery);

    GameInfoVo getGameInfoById(Integer gameId);

    boolean addGameInfo(GameInfo gameInfo);

    boolean updateGameInfo(GameInfo gameInfo);

    boolean deleteGameInfo(Integer gameId);

    boolean liveGameInfo(Integer gameId,Integer liveStatus);

    boolean commentGame(UserCommentGameParam param);

    boolean deleteGameComment(Integer commentId);
}
